<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<table class="display" id="example">
	<thead>
		<tr>
			<th>姓名</th>
			<th>部门</th>
			<th>岗位</th>
			<th>职等</th>
			<s:if test="#request.examPeriods != null and #request.examPeriods.size() > 0">
				<s:iterator value="#request.examPeriods" var="period">
					<th>${period.periodName}</th>
				</s:iterator>
			</s:if>
			<th>操作</th>
		</tr>
	</thead>
	<tbody>
		<s:if test="#request.examStatisticsPojos==null or #request.examStatisticsPojos.size() <= 0">
            <tr class="gradeX">
				<td colspan="8">暂无数据</td>
			</tr>
        </s:if>
        <s:else>
        	<s:iterator value="#request.examStatisticsPojos" var="static" status="sta">
        		<s:if test="#sta.even"> <tr class="gradeA"> </s:if> <s:else> <tr class="gradeC"> </s:else>
        		<td>${static.name}</td>
				<td>${static.fullName}</td>
				<td>${static.dutyName}</td>
				<td>${static.gradeName}-${static.gradeSort}</td>
				<td>${static.early}</td>
				<td>${static.previous}</td>
				<td>${static.current}</td>
				<td><a class="button" href="#exam/quan_histroy_detail.xhtml?work.id=${static.workId}&type=${type}">
                    <span style="background: url(${ctx}/images/img/chart_curve.png)" class="icon">&nbsp;</span>查看全年分数</a></td>
        		</tr>
        	</s:iterator>
        </s:else>
	</tbody>
</table>
 <p>
    <%@ include file="/WEB-INF/pages/common/main_orgtab_pager.jsp" %>
</p>  